Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Mapbox API v4 #9

Merged
merged 2 commits into from
Apr 30, 2016
Merged

Use Mapbox API v4 #9

merged 2 commits into from
Apr 30, 2016

Conversation

jseppi
Copy link
Owner

@jseppi jseppi commented Apr 30, 2016

The previously used v3 API is deprecated. This switches Leaflet.MakiMarkers to use the newer v4 API. Unfortunately v4 requires a valid Mapbox API token with every request. Version 2.0.0 of Leaflet.MakiMarkers allows the developer to specify an accessToken via L.MakiMarkers.accessToken or with each icon as part of the config object in the L.MakiMarkers.icon(confg) constructor.

@jseppi jseppi merged commit 36fdc43 into master Apr 30, 2016
@jseppi jseppi deleted the mapbox-api-v4 branch April 30, 2016 19:56
runetvilum added a commit to runetvilum/Leaflet.MakiMarkers that referenced this pull request Jun 5, 2016
This reverts commit 36fdc43, reversing
changes made to 88542d0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant